package com.ruoyi.system.service;


import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.Cash;
import com.ruoyi.system.domain.CashHistory;
import com.ruoyi.system.dto.TransferSubmitDto;

import java.math.BigDecimal;


/**
 * @author le
 */
public interface CashService extends BaseService<Cash> {
    //void transfer(SysUser user  , TransferSubmitDto dto);


    Cash getByUserId(Long userId);

    //void updateCash(Long userId, CashHistory cashHistory);

    /**
     *
     * @param userId
     * @param orderNo
     * @param userEarning
     * @param type
     * @param channelCode
     */
    //void benefit(Long userId, String orderNo, BigDecimal userEarning,String type,String channelCode);

}
